//对useSelector进行二次封装（让它自带类型）
import { useSelector, TypedUseSelectorHook } from "react-redux";
import { RootState } from "./index";
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
